package com.ptmall.app.bean;

import java.util.List;

/**
 * Created by abc on 2018/3/26.
 */

public class PageData<T> {

    /**
     * total : 0
     * per_page : 10
     * current_page : 1
     * data : []
     */

    private int count;
    private String per_page;
    private int current_page;
    private List<T> list;
    public List<ProductBean> like;

    public int getCount() {
        return count;
    }

    public String getPer_page() {
        return per_page;
    }

    public void setPer_page(String per_page) {
        this.per_page = per_page;
    }

    public int getCurrent_page() {
        return current_page;
    }

    public void setCurrent_page(int current_page) {
        this.current_page = current_page;
    }

    @Override
    public String toString() {
        return "PageData{" +
                "total=" + count +
                ", per_page='" + per_page + '\'' +
                ", current_page=" + current_page +
                ", data=" + list +
                '}';
    }

    public List<T> getData() {
        return list;
    }

    public void setData(List<T> data) {
        this.list = data;
    }

    public static class Like{
        public String productId;
        public String product_name;
        public String list_img;
        public String is_tejia;
        public String manjian;
        public String sell_price;
    }
}
